﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace BattleshipGameClient
{
    [Serializable]
    public class hitReport
    {
        private Point coord;
        private Ship.Type shipType;
        private bool isSunk;

        public hitReport(Point coord, Ship.Type shipType, bool isSunk)
        {
            this.coord = coord;
            this.shipType = shipType;
            this.isSunk = isSunk;
        }

        public Point getCoord()
        {
            return coord;
        }

        public Ship.Type getShipType()
        {
            return shipType;
        }

        public bool IsSunk()
        {
            return isSunk;
        }
    }
}
